#ifndef jolfs_local_volume_h_
#define jolfs_local_volume_h_

#include "jolfs/volume.h"

#include <set>

namespace jolfs
{
	class LocalVolume: public Volume
	{
	public:
		
		// CONSTRUCTORS
		LocalVolume();
		LocalVolume(const std::string& name,
			    const std::string& mountPoint);

		// ACCESSORS
		const std::string& mountPoint() const;

		// FILE SYSTEM OPERATION
		

	private:
		
		// DATA
		std::string     mountPoint_;
	};
	typedef std::set<LocalVolume*>       LocalVolumeSet;


	//--------------------------------------------------
	//                  I N L I N E S
	//--------------------------------------------------

	inline LocalVolume::LocalVolume(const std::string& name,
					const std::string& mountPoint):
	  Volume(name), mountPoint_(mountPoint)
	{
	  
	}


	inline const std::string& LocalVolume::mountPoint() const
	{
	  return mountPoint_;
	}
}



#endif
